package com.hotai.vo.sho;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@JsonIgnoreProperties(value = {"pattern","fname"})
public class ShoTop {
    private  Integer id;
    private  String name;
    private  Integer  top;
    private  String img;
    private  String fname;
    private  String  wen;
    private  String wename;
    private  String capacity;
    private  String  pattern;
    private  Integer status;
    private  String md;
    private  String[]  patterns;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//存到数据库
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") //从数据库
    private Date  shDate;
}
